package com.songlanyun.modules.goods.dao;

import com.songlanyun.modules.goods.entity.GoodsSku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.songlanyun.modules.goods.model.vo.SkuComItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品的规格的关系表（一个商品可能会有多个规格，各个规格中要关联单品）
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-05 10:01:59
 */
@Mapper
public interface GoodsSkuDao extends BaseMapper<GoodsSku> {
    List<SkuComItemVo> loadSkuItemList(@Param("goodsId") Long goodsId);
}
